package com.yxq.mdt.app.modules.auction.presenter;


import com.yxq.mdt.app.base.ibase.IBaseContract;
import com.yxq.mdt.app.modules.auction.bean.AuctionList;
import com.yxq.mdt.app.modules.auction.bean.AuctionProfitBean;
import com.yxq.mdt.app.modules.auction.bean.AuctionTxBean;
import com.yxq.mdt.app.modules.auction.bean.MyTeamFansBean;
import com.yxq.mdt.app.modules.login.bean.UserBean;
import com.yxq.mdt.app.modules.socialcontact.bean.MainSocialContactRecommendBean;

/**
 * ================================================
 *
 * @function 连接View和Model层的接口方法，在Presenter中实现
 * Created by yd on 2019/03/26.
 * ================================================
 */
public interface AuctionContract extends IBaseContract {
    interface View extends IBaseView {

        void onLoadAuctionListByTypeSuccess(AuctionList auctionList);

        void onLoadAuctionListByTypeFailed();

        void onLoadUserCashListSuccess(AuctionProfitBean auctionProfitBean);

        void onLoadUserCashListFailed();

        void onLoadUserIncomeListSuccess(AuctionTxBean auctionTxBean);

        void onLoadUserIncomeListFailed();

        void onLoadAddUserCashSuccess(String result);

        void onLoadAddUserCashFailed(String msg);
    }


    interface Presenter extends IBasePresenter {
        void getAuctionListByType(int type, int pageNum, int pageSize);

        void getUserCashList(String pageNum, String pageSize);

        void getUserIncomeList(int pageSize, int pageNum,int isEntry);
    }
}
